package cn.com.dycc.common.push_key.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.common.push_key.entity.PushKey;

@Repository("pushKeyDao")
public interface PushKeyDao {
	
	/**
	 * 通过设备型号查询apikey和sercekey
	 * @param id
	 * @return
	 */
	public PushKey findKey(
			@Param("deviceType")Integer deviceType,
			@Param("org_id")String org_id);
}
